package uestc.lj.gulishop.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import uestc.lj.common.utils.PageUtils;
import uestc.lj.gulishop.ware.entity.WareInfoEntity;
import uestc.lj.gulishop.ware.vo.FareResponseVO;

import java.util.Map;

/**
 * 仓库信息
 *
 * @author crazlee
 * @email peterlee0@163.com
 * @date 2021-05-21 19:33:02
 */
public interface WareInfoService extends IService<WareInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageByCondition(Map<String, Object> params);

    /**
     * 根据地址获取运费
     * @param addrId
     * @return
     */
    FareResponseVO getFare(Long addrId);

}

